Lowest Common Ancestor - Coding Interview Question